package com.audi.box.service;

import java.util.ArrayList;

import com.audi.dto.SceneDeviceItem;
import com.audi.dto.SceneItem;

public interface SceneService {
    int addScene(SceneItem place);
    
    int updateScene(SceneItem place);
    
    boolean isExist(SceneItem place);
    
    ArrayList<SceneItem> getListScene();
    
    ArrayList<SceneItem> getListScene(int placeId);
    
    SceneItem getScene(int placeId);
    
    int deleteScene(SceneItem place);
    
    int renameScene(SceneItem place);
    
    int addSceneDevice(SceneDeviceItem sceneDevice);
    
    ArrayList<SceneDeviceItem> getListSceneDevice();
    
    SceneDeviceItem getSceneDevice(int sceneId, int deviceId);
    
    int deleteSceneDeviceItem(SceneDeviceItem sceneDevice);
}
